package ooday04;

public class Chick extends Animal {
    Chick(String name,int age,String colour ){
        super(name,age,colour);
    }
    void eat(){
        System.out.println(colour+"色的"+age+"岁的，名字叫"+name+"的小鸡正在吃小米");
    }
    void layEggs(){
        System.out.println(colour+"色的"+age+"岁的，名字叫"+name+"的小鸡正在下蛋");
    }
}
